package interfaces;

import entities.TBm;
import java.util.Map;

import basic.QuerySet;
import basic.ResultSet;

public interface IBmService {

	public Boolean exist(String primaryKey) throws Exception;
	
	public Boolean contain(Map<String,Object> paramMap) throws Exception;

	public TBm fetch(String primaryKey) throws Exception;
	
	public TBm single(Map<String,Object> paramMap) throws Exception;

	public TBm persist(TBm entityBean) throws Exception;

	public Integer remove(String primaryKey ) throws Exception;
	
	public Integer expunge(Map<String,Object> paramMap) throws Exception;
	
	public Double summary(QuerySet<Object> querySet) throws Exception;

	public Integer record(Map<String,Object> paramMap) throws Exception;

	public  ResultSet<TBm> search(QuerySet<Object> querySet) throws Exception;
	
}
